Add - to domain regex match#2
Add - to domain regex match#2fprimex wants to merge 1 commit intoSendSafely:masterfrom fprimex:fprimex-domain-regex
- to domain regex match#2Conversation
Match domains that contain a `-`, such as `my-domain.my-company.com`.
|
While we're at it on parsing links, could this class be made public so it can be used without initializing a client API object? I have a use case where I'd like to see if there are any links before running initialsetup, since it appears that initialsetup makes a connection that can cause the rate limit to be hit. So I would instead do repeated parselinks on text, and then connect if needed. Since I'm invoking this program many consecutive times via another program, I can't reuse the one API connection unless I rewrite the entire other program in C# (which would be cool, but I don't have the time right this minute). |
Adds support for hyphinated host names in ParseLinksUtility Exposes ParseLinksUtility as public Original feature request/bug report can be found here: #2
|
Hi Brent -- Thanks for reporting this issue to us. Our development team has just pushed an alternative fix we believe will address the issue you ran into with a hyphenated host name. We also changed the visibility on the ParseLinksUtility so it is now public and can be used without initializing the Client API object. The commit with the fix can be found here: ca699ac |
Match domains that contain a
-, such asmy-domain.my-company.com.